import ricebagcover from "@/assets/ricebagcover.svg"

/** 袋皮库存管理 */
export default [
  {
    path: "/bag-inventory-management",
    redirect: "/bag-cover/index",
    meta: {
      title: "袋皮库存管理",
      icon: ricebagcover,
      activeIcon: ricebagcover,
      sort: 12
    },
    children: [
      {
        path: "/bag-cover/index",
        name: "BagCover",
        component: () => import("@/views/bag-cover/index.vue"),
        meta: {
          title: "袋皮信息",
          icon: "",
          permission: [
            {
              path: "insert",
              label: "新增"
            },
            {
              path: "update",
              label: "修改"
            },
          ]
        },
      },
      {
        path: "/bag-list-management/index",
        name: "BagInventoryList",
        component: () => import("@/views/bag-list-management/index.vue"),
        meta: {
          title: "袋皮库存列表",
          icon: "",
        },
      },
      {
        path: "/bag-detail-management/index",
        name: "BagInventoryDetailList",
        component: () => import("@/views/bag-detail-management/index.vue"),
        meta: {
          title: "袋皮库存明细列表",
          icon: "",
          permission: [
            {
              path: "insert",
              label: "入库"
            },
            {
              path: "update",
              label: "修改"
            },
            {
              path: "delete",
              label: "扣减"
            },
          ]
        },
      },
    ],
  },
];
